package demo1;

public class Test {
    public static void main(String[] args) {
        Login login = new Login();
        try {
            login.denglu("123456", "baibai");
        } catch (NameErrorException e) {
            e.printStackTrace();
        }catch (PasswordErrorException e){
            e.printStackTrace();
        }
    }
}
